package com.crm.pojo;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the CLIENT_COMPLAINT database table.
 * 
 */
@Entity
@Table(name="CLIENT_COMPLAINT")
@NamedQuery(name="ClientComplaint.findAll", query="SELECT c FROM ClientComplaint c")
public class ClientComplaint implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1, name="CLIENT_COMPLAINT_COMPLAINTID_GENERATOR", sequenceName="SEQ1")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CLIENT_COMPLAINT_COMPLAINTID_GENERATOR")
	@Column(name="COMPLAINT_ID")
	private Long complaintId;

	@Column(name="ACCEPT_USER_ID")
	private BigDecimal acceptUserId;

	@Column(name="CLIENT_COMPLAINT_IS_DEL")
	private String clientComplaintIsDel;

	@Column(name="CLIENT_ID")
	private BigDecimal clientId;

	@Column(name="COMPLAINT_TIME")
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Timestamp complaintTime;

	private String context;

	private String emergency;

	private String feedback;

	private String handle;

	private String outcome;

	@Column(name="PEOPLE_ID")
	private BigDecimal peopleId;

	private String remarks;

	private String revisit;

	@Column(name="SPENT_TIME")
	private String spentTime;

	private String theme;

	@Column(name="\"TYPE\"")
	private String type;

	public ClientComplaint() {
	}

	public Long getComplaintId() {
		return this.complaintId;
	}

	public void setComplaintId(Long complaintId) {
		this.complaintId = complaintId;
	}

	public BigDecimal getAcceptUserId() {
		return this.acceptUserId;
	}

	public void setAcceptUserId(BigDecimal acceptUserId) {
		this.acceptUserId = acceptUserId;
	}

	public String getClientComplaintIsDel() {
		return this.clientComplaintIsDel;
	}

	public void setClientComplaintIsDel(String clientComplaintIsDel) {
		this.clientComplaintIsDel = clientComplaintIsDel;
	}

	public BigDecimal getClientId() {
		return this.clientId;
	}

	public void setClientId(BigDecimal clientId) {
		this.clientId = clientId;
	}

	public Timestamp getComplaintTime() {
		return this.complaintTime;
	}

	public void setComplaintTime(Timestamp complaintTime) {
		this.complaintTime = complaintTime;
	}

	public String getContext() {
		return this.context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getEmergency() {
		return this.emergency;
	}

	public void setEmergency(String emergency) {
		this.emergency = emergency;
	}

	public String getFeedback() {
		return this.feedback;
	}

	public void setFeedback(String feedback) {
		this.feedback = feedback;
	}

	public String getHandle() {
		return this.handle;
	}

	public void setHandle(String handle) {
		this.handle = handle;
	}

	public String getOutcome() {
		return this.outcome;
	}

	public void setOutcome(String outcome) {
		this.outcome = outcome;
	}

	public BigDecimal getPeopleId() {
		return this.peopleId;
	}

	public void setPeopleId(BigDecimal peopleId) {
		this.peopleId = peopleId;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getRevisit() {
		return this.revisit;
	}

	public void setRevisit(String revisit) {
		this.revisit = revisit;
	}

	public String getSpentTime() {
		return this.spentTime;
	}

	public void setSpentTime(String spentTime) {
		this.spentTime = spentTime;
	}

	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}